﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using SelfService.Model.Models;
using SelfService.Model;


namespace SelfService.ViewModel.SysModuleVMs
{
    public partial class SysModuleTemplateVM : BaseTemplateVM
    {
        [Display(Name = "名称")]
        public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<SysModule>(x => x.Name);
        [Display(Name = "模块介绍")]
        public ExcelPropety Description_Excel = ExcelPropety.CreateProperty<SysModule>(x => x.Description);
        [Display(Name = "是否启用")]
        public ExcelPropety IsEnable_Excel = ExcelPropety.CreateProperty<SysModule>(x => x.IsEnable);

	    protected override void InitVM()
        {
        }

    }

    public class SysModuleImportVM : BaseImportVM<SysModuleTemplateVM, SysModule>
    {

    }

}
